﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Inicio.aspx.cs" Inherits="ChatWeb.Inicio" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="Styles/General.css" rel="stylesheet" type="text/css" />
    <title></title>
    <link href="Styles/apprise.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="Scripts/apprise-1.5.full.js" type="text/javascript"></script>
    <script type="text/javascript">
        function validate() {
            var ok = false;

            var texto = document.getElementById("txtUsuario").value;
            if (texto.length == 0) {
                apprise('Ingresa un Nickname.');
            }
            else {ok = true;}

            return ok;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return validate()">
    <div id="Contenedor">
        <span id="imgInicio"><img src="Images/chat.png" height="70" width="80" /></span>
        <h2>Ingreso</h2>
        <h4>Chat Empresarial</h4>
        
        <table>
            <tr><td><span style="margin:0px 0px 0px 120px;">Porfavor ingresa tu nickname:</span></td></tr>
            <tr><td style="padding:10px 0px 0px 150px"><asp:TextBox ID="txtUsuario" runat="server"></asp:TextBox><asp:Button 
                    ID="btnIngresar" runat="server" Text="Ingresar" onclick="btnIngresar_Click" /></td></tr>
        </table>
        
        
    </div>
    </form>
</body>
</html>
